

<div class="fieldcontain devicefields">
    <label id="parentId-label" class="property-label"><g:message code="device.area.label" default="片区" /></label>

    <span class="property-value" aria-labelledby="parentId-label">${deviceInstance?.area?.name}</span>

</div>

<div class="fieldcontain devicefields">
    <label id="name-label" class="property-label"><g:message code="client.name.label" default="名称" /></label>

    <span class="property-value" aria-labelledby="name-label">${deviceInstance?.name}</span>
</div>

<div class="fieldcontain devicefields">
    <label id="code-label" class="property-label"><g:message code="client.code.label" default="设备编码" /></label>

    <span class="property-value" aria-labelledby="code-label">${deviceInstance?.code}</span>

</div>

<div class="fieldcontain devicefields">
    <label id="logo-label" class="property-label"><g:message code="client.logo.label" default="设备标识" /></label>

    <span class="property-value" aria-labelledby="logo-label">${deviceInstance?.logo}</span>

</div>


<div class="fieldcontain devicefields">
    <label>
        <g:message code="device.location.installation.label" default="安装位置" />
    </label>
    ${deviceInstance?.location?.installation}
</div>

<div class="fieldcontain devicefields">
    <label class="property-label"><g:message code="location.latitude.label" default="地理坐标(经纬度)" /></label>

    <span class="property-value" aria-labelledby="description-label">${deviceInstance?.location?.longitude}/${deviceInstance?.location?.latitude}</span>

</div>

<div class="fieldcontain devicefields">
    <label>
        <g:message code="device.factory.label" default="厂家" />
    </label>
    ${deviceInstance?.factory}
</div>

<div class="fieldcontain devicefields">
    <label>
        <g:message code="device.model.label" default="型号" />
    </label>
    ${deviceInstance?.model}
</div>

<div class="fieldcontain devicefields">
    <label>
        <g:message code="device.capacity.nominal.label" default="标称容量" />
    </label>
    ${deviceInstance?.capacity?.nominal}
</div>

<div class="fieldcontain devicefields">
    <label>
        <g:message code="device.capacity.nominal.label" default="实际容量" />
    </label>
    ${deviceInstance?.capacity?.actual}
</div>


<div class="fieldcontain devicefields">
    <label>
        <g:message code="device.mode.label" default="安装方式" />
    </label>
    ${deviceInstance?.mode?.label}
</div>

<div class="fieldcontain devicefields">
    <label>
        <g:message code="device.mode.label" default="安装时间" />
    </label>
    ${deviceInstance?.date?.format('yyyy-MM-dd')}
</div>

<div class="fieldcontain devicefields">
    <label>
        <g:message code="device.status.label" default="设备状态" />
    </label>
    ${deviceInstance?.status?.label}
</div>
<div style="clear: both"></div>

<div class="fieldcontain" style="width:90%">
    <label id="description-label" class="property-label"><g:message code="client.description.label" default="备注" /></label>

    <span class="property-value" aria-labelledby="description-label">${deviceInstance?.description}</span>

</div>
<div class="fieldcontain" style="width:90%">
    <label id="description-label" class="property-label"><g:message code="device.template.label" default="模板布局" /></label>

    <span class="property-value" aria-labelledby="description-label">${deviceInstance?.formwork?.name}</span>

</div>

<div style="clear: both"></div>
